app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
↳ QTRS
↳ Non-Overlap Check
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(rm, n)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(minsort, x)
APP'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(eq, x), y)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(app, app'2(app'2(rm, n), x)), y)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(app'2(add, n), y)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(app'2(minsort, x), app'2(app'2(add, n), y))
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app, x), y)
APP'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, m), x))
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(if_rm, app'2(app'2(eq, n), m))
APP'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(add, n), x)
APP'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> APP'2(eq, x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(if_rm, app'2(app'2(eq, n), m)), n)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(rm, n), x)
APP'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> APP'2(rm, n)
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app, x)
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(rm, n)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(min, app'2(app'2(add, n), x))
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(if_min, app'2(app'2(le, n), m))
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(eq, n)
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(le, n)
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(eq, n)
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(le, n), m)
APP'2(app'2(le, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(le, x), y)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
APP'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, n), x))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x))
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(app'2(add, m), app'2(app'2(rm, n), x))
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil)
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app'2(add, n), app'2(app'2(app, x), y))
APP'2(app'2(le, app'2(s, x)), app'2(s, y)) -> APP'2(le, x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
APP'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x))))
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(eq, n), m)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app, app'2(app'2(rm, n), x))
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(rm, n)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(minsort, x)
APP'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(eq, x), y)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(app, app'2(app'2(rm, n), x)), y)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(app'2(add, n), y)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(app'2(minsort, x), app'2(app'2(add, n), y))
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app, x), y)
APP'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, m), x))
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(if_rm, app'2(app'2(eq, n), m))
APP'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(add, n), x)
APP'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> APP'2(eq, x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(if_rm, app'2(app'2(eq, n), m)), n)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(rm, n), x)
APP'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> APP'2(rm, n)
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app, x)
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(rm, n)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(min, app'2(app'2(add, n), x))
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(if_min, app'2(app'2(le, n), m))
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(eq, n)
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(le, n)
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(eq, n)
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(le, n), m)
APP'2(app'2(le, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(le, x), y)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
APP'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, n), x))
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x))
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(app'2(add, m), app'2(app'2(rm, n), x))
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil)
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app'2(add, n), app'2(app'2(app, x), y))
APP'2(app'2(le, app'2(s, x)), app'2(s, y)) -> APP'2(le, x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
APP'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x))))
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(eq, n), m)
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app, app'2(app'2(rm, n), x))
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app, x), y)
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
APP'2(app'2(app, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app, x), y)
APP'1 > [app'1, app, add]
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(le, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(le, x), y)
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
APP'2(app'2(le, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(le, x), y)
trivial
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, n), x))
APP'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, m), x))
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
APP'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, n), x))
APP'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(min, app'2(app'2(add, m), x))
Used ordering: Combined order from the following AFS and order.
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
[ifmin, add, min] > [app'2, true] > [false, le, 0]
s > [false, le, 0]
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
↳ QDP
APP'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> APP'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
APP'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(eq, x), y)
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
APP'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(eq, x), y)
trivial
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
APP'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
The following pairs can be strictly oriented and are deleted.
The remaining pairs can at least by weakly be oriented.
APP'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
APP'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> APP'2(app'2(rm, n), x)
Used ordering: Combined order from the following AFS and order.
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
[app'1, true, rm] > add > ifrm > [false, 0]
[app'1, true, rm] > [eq, s] > [false, 0]
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
APP'2(app'2(rm, n), app'2(app'2(add, m), x)) -> APP'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)
↳ QTRS
↳ Non-Overlap Check
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> APP'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
APP'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> APP'2(app'2(minsort, x), app'2(app'2(add, n), y))
APP'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> APP'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil)
app'2(app'2(eq, 0), 0) -> true
app'2(app'2(eq, 0), app'2(s, x)) -> false
app'2(app'2(eq, app'2(s, x)), 0) -> false
app'2(app'2(eq, app'2(s, x)), app'2(s, y)) -> app'2(app'2(eq, x), y)
app'2(app'2(le, 0), y) -> true
app'2(app'2(le, app'2(s, x)), 0) -> false
app'2(app'2(le, app'2(s, x)), app'2(s, y)) -> app'2(app'2(le, x), y)
app'2(app'2(app, nil), y) -> y
app'2(app'2(app, app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(app, x), y))
app'2(min, app'2(app'2(add, n), nil)) -> n
app'2(min, app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(app'2(if_min, app'2(app'2(le, n), m)), app'2(app'2(add, n), app'2(app'2(add, m), x)))
app'2(app'2(if_min, true), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, n), x))
app'2(app'2(if_min, false), app'2(app'2(add, n), app'2(app'2(add, m), x))) -> app'2(min, app'2(app'2(add, m), x))
app'2(app'2(rm, n), nil) -> nil
app'2(app'2(rm, n), app'2(app'2(add, m), x)) -> app'2(app'2(app'2(if_rm, app'2(app'2(eq, n), m)), n), app'2(app'2(add, m), x))
app'2(app'2(app'2(if_rm, true), n), app'2(app'2(add, m), x)) -> app'2(app'2(rm, n), x)
app'2(app'2(app'2(if_rm, false), n), app'2(app'2(add, m), x)) -> app'2(app'2(add, m), app'2(app'2(rm, n), x))
app'2(app'2(minsort, nil), nil) -> nil
app'2(app'2(minsort, app'2(app'2(add, n), x)), y) -> app'2(app'2(app'2(if_minsort, app'2(app'2(eq, n), app'2(min, app'2(app'2(add, n), x)))), app'2(app'2(add, n), x)), y)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, n), x)), y) -> app'2(app'2(add, n), app'2(app'2(minsort, app'2(app'2(app, app'2(app'2(rm, n), x)), y)), nil))
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, n), x)), y) -> app'2(app'2(minsort, x), app'2(app'2(add, n), y))
app'2(app'2(eq, 0), 0)
app'2(app'2(eq, 0), app'2(s, x0))
app'2(app'2(eq, app'2(s, x0)), 0)
app'2(app'2(eq, app'2(s, x0)), app'2(s, x1))
app'2(app'2(le, 0), x0)
app'2(app'2(le, app'2(s, x0)), 0)
app'2(app'2(le, app'2(s, x0)), app'2(s, x1))
app'2(app'2(app, nil), x0)
app'2(app'2(app, app'2(app'2(add, x0), x1)), x2)
app'2(min, app'2(app'2(add, x0), nil))
app'2(min, app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, true), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(if_min, false), app'2(app'2(add, x0), app'2(app'2(add, x1), x2)))
app'2(app'2(rm, x0), nil)
app'2(app'2(rm, x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, true), x0), app'2(app'2(add, x1), x2))
app'2(app'2(app'2(if_rm, false), x0), app'2(app'2(add, x1), x2))
app'2(app'2(minsort, nil), nil)
app'2(app'2(minsort, app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, true), app'2(app'2(add, x0), x1)), x2)
app'2(app'2(app'2(if_minsort, false), app'2(app'2(add, x0), x1)), x2)